<?php

/**
 * movie VO
 *
 * @package App_Model_Vo
 */
class App_Model_Vo_SearchMovie
{
    public $userId;

    public $format;
    public $quality;
    public $languages;
    public $subtitles;
    public $watched;

    public $movieId;
    public $name;
    public $nameFr;
    public $userRating; // rt_user_movie.rating
    public $ratingAvg; // t_movie.rating
    public $dateOut;

    //     public $friendRating; // rt_movie_share
    //     public $owned; // rt_movie_share
    //     public $asked; // rt_movie_share

    //     public $urlPicture;

    /**
     * Constructeur
     *
     * @return null
     */
    function __construct($object) {
        $this->userId = $object['userId'];
        $this->format = $object['format'];
        $this->quality = $object['quality'];
        $this->languages = $object['languages'];
        $this->subtitles = $object['subtitles'];
        $this->watched = $object['watched'];
        $this->movieId = $object['movieId'];
        $this->name = $object['name'];
        $this->nameFr = $object['nameFr'];
        $this->userRating = $object['userRating'];
        $this->ratingAvg = $object['ratingAvg'];
        $this->dateOut = $object['dateOut'];
    }
}